package com.drawu.drawuspring.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.drawu.drawuspring.domain.DTO.ChatDto;
import com.drawu.drawuspring.domain.Result;
import com.drawu.drawuspring.domain.po.Chat;
import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hui
 * @since 2025-03-27
 */
public interface IChatService extends IService<Chat> {

    ResponseBodyEmitter chat(ChatDto chatDto) throws Exception;


    Result listHistory();

    Result deleteHistory();
}
